extends CanvasLayer

onready var ui_battle = $UIBattle
onready var hsc = $HSC
var screen = true


func _ready():
	pass # Replace with function body.


func _process(_delta: float) -> void:
	##界面适配
	if hsc.split_offset > 960:
		ui_battle.position.x = hsc.split_offset - 960

func _input(_event):
	if Input.is_action_pressed("ui_screen") :
		OS.window_fullscreen = screen
		screen = !screen
		pass
